import React, {Component} from 'react'

import {GETRECOMENDLIST, TIXIANRECOR} from "../const/shareUri";

import Ajax from "../assets/js/fetch"

export default class Home extends Component {
  constructor() {
    super();
    this.state = {
      list: [
        {name: 'liqnginhu'}, {name: 'liqnginhu'}, {name: 'liqnginhu'}, {name: 'liqnginhu'},
        {name: 'liqnginhu'},
        {name: 'liqnginhu'}, {name: 'liqnginhu'}, {name: 'liqnginhu'}, {name: 'liqnginhu'},
        {name: 'liqnginhu'}, {name: 'liqnginhu'}, {name: 'liqnginhu'}, {name: 'liqnginhu'},
        {name: 'liqnginhu'}, {name: 'liqnginhu'}, {name: 'liqnginhu'}, {name: 'liqnginhu'},
        {name: 'liqnginhu'}, {name: 'liqnginhu'}, {name: 'liqnginhu'}, {name: 'liqnginhu'},
        {name: 'liqnginhu'}, {name: 'liqnginhu'}, {name: 'liqnginhu'}, {name: 'liqnginhu'},
        {name: 'liqnginhu'}, {name: 'liqnginhu'}, {name: 'liqnginhu'}, {name: 'liqnginhu'}
      ]
    }
  }

  componentDidMount() {
    console.log('home组件已经挂载');
  }

  render() {
    return (
        <div id='home' className='padding-bottom-49'>
          {
            this.state.list.map((item, index) =>
                <div style={{fontSize: '20px'}} key={index}>
                  {item.name}
                </div>
            )
          }
        </div>
    )
  }

  _getList = () => {

  }
}